from rest_framework.routers import SimpleRouter

from orders.views import OrderPView, OrderFoodView, OrderCommentView, PayView

router = SimpleRouter()
router.register('', OrderPView)
router.register('detail', OrderFoodView)
router.register('score', OrderCommentView)
router.register('paychange', PayView)

urlpatterns = [
]
urlpatterns += router.urls
